package com.psp.service.impl;


import java.util.Collection;
import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.psp.base.BaseServiceImpl;
import com.psp.dao.PrivilegeDao;
import com.psp.domain.Privilege;
import com.psp.service.PrivilegeService;
@Service
public class PrivilegeServiceImpl extends BaseServiceImpl<Privilege> implements PrivilegeService{
	
	@Override
	public List<Privilege> findTopList() {
		return privilegeDao.findTopList();
	}

	@Override
	public Collection<String> getAllPrivilegeUrls() {
		return privilegeDao.getAllPrivilegeUrls();
	}

	@Override
	public Collection<String> getRetainPrivilegeUrls() {
		return privilegeDao.getRetainPrivilegeUrls();
	}
}
